package com.yanqu.road.entity.activity.goldautumn.config;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.List;

@FieldTypeAnnotation(tableName = "t_s_activity_mid_autumn_screed")
public class GoldAutumnScreedInfo {

    @FieldTypeAnnotation(select = true, desc = "活动id")
    private int activityId;

    @FieldTypeAnnotation(desc = "id", orderASC = true)
    private int id;

    @FieldTypeAnnotation(desc = "类型")
    private int type;

    @FieldTypeAnnotation(desc = "模板参数")
    private String param;

    @FieldTypeAnnotation(desc = "权重")
    private int weight;

    @FieldTypeAnnotation(desc = "解锁条件")
    private String unlock;

    //cache 最大
    private int max;

    private List<Integer> rangeList;

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getParam() {
        return param;
    }

    public void setParam(String param) {
        this.param = param;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

    public String getUnlock() {
        return unlock;
    }

    public void setUnlock(String unlock) {
        this.unlock = unlock;
    }

    public int getMax() {
        return max;
    }

    public void setMax(int max) {
        this.max = max;
    }

    public List<Integer> getRangeList() {
        return rangeList;
    }

    public void setRangeList(List<Integer> rangeList) {
        this.rangeList = rangeList;
    }
}
